package com.syq.feign.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "personal",fallbackFactory = PersonalServiceFallbackFactory.class)
public interface PersonalFeignService {
    @RequestMapping(value = "/personals")
    public String getAllPersonals();

    @RequestMapping(value = "/student/{pno}")
    public String getPersonalByPno(String pno);
}
